package com.g1.gzbooksingle.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 作者表
 * </p>
 *
 * @author admin
 * @since 2021-10-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dg_author_info")
public class DgAuthorInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 作者名
     */
    @TableField("author_name")
    private String authorName;

    /**
     * 国籍
     */
    @TableField("coutry")
    private String coutry;

    /**
     * 作者图片
     */
    @TableField("image_path")
    private String imagePath;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
